package cn.topevery.garden.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.io.Serializable;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.math.BigDecimal;
import org.locationtech.jts.geom.Geometry;
import com.alibaba.fastjson.annotation.JSONField;
import cn.topevery.garden.entity.serializer.GeometrySerializer;
/**
 *  视图
 */
@Data
@ApiModel(value = "Bulletin 视图", description = " 视图")
public class BulletinVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * UUID
     */
    @ApiModelProperty(value = "UUID")
    @Excel(name = "UUID", orderNum = "0")
    private String bulletinId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    @Excel(name = "标题", orderNum = "0")
    private String title;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    @Excel(name = "内容", orderNum = "0")
    private String body;

    /**
     * 日期
     */
    @ApiModelProperty(value = "日期")
    @Excel(name = "日期", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    /**
     * 级别
     */
    @ApiModelProperty(value = "级别")
    @Excel(name = "级别", orderNum = "0")
    private Integer level;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注", orderNum = "0")
    private String remark;

    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号")
    @Excel(name = "排序号", orderNum = "0")
    private Integer orderNum;

    @ApiModelProperty(value = "创建人")
    @Excel(name = "创建人", orderNum = "0")
    private String userName;

}
